﻿@model MembershipUser

@{
    ViewBag.Title = "ChangeUserPassword";
    Session.Add("help", "Account/ChangeUser");
}
<fieldset>
<legend>Ændre bruger oplysninger</legend>
@using (@Html.BeginForm())
{
    @Html.HiddenFor(model => Model.ProviderUserKey)
    <div class="editor-label">
    @Html.Label("Gammel Kode")
    </div>
    <div class="editor-field">
    @Html.Editor("oldPassword")
    </div>
    <div class="editor-label">
    @Html.Label("Ny kode")
    </div>
    <div class="editor-field">
    @Html.Editor("newPassword")
    </div>
    <div class="editor-label">
    @Html.Label("Administrator")
    </div>
    <div class="editor.field">
    @Html.CheckBox("admin")
    </div>
    
    <input title="Rediger kode" type="submit" />
}
</fieldset>
<div>@Html.ActionLink("Tilbage", "Index")</div>